import request from '@/utils/request'

/**
 * 店铺接口
 */
// 获取营业状态
export const getShopStatus = () => {
  return request.get('/shop/status')
}

// 设置营业状态
export const setShopStatus = (status) => {
  return request({
    url: '/shop/' + status,
    method: 'put'
  })
}
